﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IAutoArenaPrxHelper extends RMIProxyObject implements IAutoArenaPrx
    {
        public static const NAME:String = "Message.Game.IAutoArena";

        public function IAutoArenaPrxHelper()
        {
            name = "IAutoArena";
            return;
        }// end function

        public function autoArenaFight_async(param1:AMI_IAutoArena_autoArenaFight, param2:int, param3:SEntityId, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("autoArenaFight");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            param3.__write(_loc_7);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function getAutoArenaToplist_async(param1:AMI_IAutoArena_getAutoArenaToplist, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getAutoArenaToplist");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getBattleRecords_async(param1:AMI_IAutoArena_getBattleRecords) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getBattleRecords");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getEnemysInfo_async(param1:AMI_IAutoArena_getEnemysInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getEnemysInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getHourReward_async(param1:AMI_IAutoArena_getHourReward) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getHourReward");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getMyInfo_async(param1:AMI_IAutoArena_getMyInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getMyInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getMyRecord_async(param1:AMI_IAutoArena_getMyRecord) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getMyRecord");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getMyRewardInfo_async(param1:AMI_IAutoArena_getMyRewardInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getMyRewardInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function resetPower_async(param1:AMI_IAutoArena_resetPower) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("resetPower");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

    }
}
